Configuration

public class Configuration

ConfigurationService class represents all information about user's settings and private information.

To access any configuration items (for example username attribute): String username = ConfigurationService.getInstance().getUsername(); ConfigurationService.getInstance().setUsername("username value");

Since

2.0.0

Constructors

Link copied to clipboard
public void Configuration()

Properties

Link copied to clipboard
public int auditFrequence
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
public int defaultCameraMode
Link copied to clipboard
public int dtmfToneDuration
Link copied to clipboard
public boolean forceDisableMediaOnHold
Link copied to clipboard
public int fps
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
public static Configuration instance
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
public int restServerPort
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard

Functions

Link copied to clipboard
Gets the Opus audio codec configurations.
Link copied to clipboard
public int getAuditFrequence()
This method returns the set time interval in seconds.
Link copied to clipboard
Gets Authorization Name of user.
Link copied to clipboard
Gets bearer token of the user
Link copied to clipboard
Returns codecPayloadTypeSet.
Link copied to clipboard
public int getDefaultCameraMode()
Returns the default camera mode.
Link copied to clipboard
Gets the default ice server password, this property is read only and set by registration service
Link copied to clipboard
Gets the default ice server username, this property is read only and set by registration service
Link copied to clipboard
public int getDtmfToneDuration()
Returns duration value of DTMF tones im ms
Link copied to clipboard
public boolean getForceDisableMediaOnHold()
Link copied to clipboard
public int getFps()
Gets the parameter for frame per second.
Link copied to clipboard
Gets hmac token of the user
Link copied to clipboard
Returns timeout value of ICE Collection
Link copied to clipboard
Gets ice option
Link copied to clipboard
Gets the user defined ICE servers array (including stun & turn)
Link copied to clipboard
public static Configuration getInstance()
This method returns (creates if necessary) singleton instance of Configuration class
Link copied to clipboard
Gets LoggingInterface reference used by LogManager.
Link copied to clipboard
Returns logLevel value of Mobile SDK
Link copied to clipboard
Link copied to clipboard
Gets Orientation Mode
Link copied to clipboard
Gets password of user
Link copied to clipboard
Returns preferred Codec Set
Link copied to clipboard
Returns the push server URL
Link copied to clipboard
Gets server IP information used in REST requests.
Link copied to clipboard
public int getRestServerPort()
Gets server port information used in REST requests.
Link copied to clipboard
Gets ringingFeedbackOption Default value is AUTO,
Link copied to clipboard
Gets the serverCertificate for secure HTTP.
Link copied to clipboard
Gets expire time of registration operation
Link copied to clipboard
Link copied to clipboard
Token used in anonymous calls.
Link copied to clipboard
Gets user name of user
Link copied to clipboard
Gets the defined/used video Resolution.
Link copied to clipboard
Gets the maximum number of times to retry the WebSocket connection in case the WebSocket connection fails.
Link copied to clipboard
Gets the connection timeout value of WebSocket.
Link copied to clipboard
Gets IP information used in web socket connection creation.
Link copied to clipboard
Gets port information used in web socket connection creation.
Link copied to clipboard
Gets webSocketConnection mode If true, it uses token for webSocketConnection.
Link copied to clipboard
Gets session id of user
Link copied to clipboard
Indicates whether httpPersistentConnection is enabled or not
Link copied to clipboard
public void setAudioOpusCodecConfigurations(AudioCodecConfiguration audioCodecConfiguration)
Sets the Audio Codec configurations.
Link copied to clipboard
public void setAuditFrequence(int timeInSeconds)
This method is used for setting time interval for sending control frames.
Link copied to clipboard
public void setAuthorizationName(String authName)
Sets authName name of user.
Link copied to clipboard
public void setBearerToken(String bearerToken)
Sets bearer token of the user
Link copied to clipboard
public void setCertificateDetails(String storeType, String storePassword, File keyStoreFile, String keyPassword)
Sets protocol information used in web socket connection creation.
Link copied to clipboard
public void setCodecPayloadTypeSet(List<CodecToReplace> codecSet)
Sets Codec Payload TypeSet for modified sdp creation
Link copied to clipboard
public void setDefaultCameraMode(int cameraMode)
Sets default camera mode for every call.
Link copied to clipboard
public void setDtmfToneDuration(int dtmfToneDuration)
Sets duration value of DTMF tones im ms
Link copied to clipboard
public void setForceDisableMediaOnHold(boolean value)
Forces to disable media transfer when media on hold is active.
Link copied to clipboard
public void setFps(int fps)
Sets the parameter for frame per second.
Link copied to clipboard
public void setHMACToken(String authToken)
Sets hmac token of the user
Link copied to clipboard
Sets the indicator which shows whether httpPersistentConnection is enabled or not
Link copied to clipboard
public void setICECollectionTimeout(int ICECollectionTimeout)
Sets timeout value of ICE Collection
Link copied to clipboard
public void setIceOption(ICEOptions iceOption)
Sets ice option.
Link copied to clipboard
public void setICEServers(ICEServers ICEServers)
Sets the user's ICE servers that will be used for creating Peer Connection
Link copied to clipboard
public void setLogger(LoggingInterface logger)
Sets LoggingInterface reference used by LogManager.
Link copied to clipboard
public void setLogLevel(Constants.LogLevel logLevel)
Sets log level of Mobile SDK If not set, TRACE level is used as default.
Link copied to clipboard
public void setNotificationChannelID(String notificationChannelID)
Link copied to clipboard
Sets orientation mode
Link copied to clipboard
public void setPassword(String password)
Sets password of user
Link copied to clipboard
public void setPreferredCodecSet(CodecSet codecSet)
Sets preferred CodecSet for modified sdp creation
Link copied to clipboard
public void setPushServerURL(URL pushServerURL)
Sets push server URL
Link copied to clipboard
public void setReceiveVideoBandwidth(CallReceiveBandwidthLimit callReceiveBandwidthLimit)
Sets the bandwidth limit for all outgoing calls to be created and incoming calls to be received.
Link copied to clipboard
public void setRestServerIp(String restServerIp)
Sets server IP information used in REST requests.
Link copied to clipboard
public void setRestServerPort(int restServerPort)
Sets server port information used in REST requests.
Link copied to clipboard
public void setRingingFeedbackOption(RingingFeedbackOptions ringingFeedbackOption)
APP --> The application side should manage the ringing feedback operations.
Link copied to clipboard
public void setServerCertificate(Certificate serverCertificate)
Sets the server certificate for secure HTTPS.
Link copied to clipboard
Link copied to clipboard
public void setSubscriptionID(String subscriptionID)
Link copied to clipboard
public void setTokenRealm(String tokenRealm)
Sets the token used in anonymous calls.
Link copied to clipboard
public void setUsername(String username)
Sets user name of user
Link copied to clipboard
public void setVideoResolution(Camera.Size videoResolution)
Sets the desired video Resolution.
Link copied to clipboard
public void setWebSocketConnectionRetryLimit(int webSocketConnectionRetryLimit)
Sets the maximum number of times to retry the WebSocket connection in case the WebSocket connection fails.
Link copied to clipboard
public void setWebSocketConnectionTimeout(int timeoutInSeconds)
Sets connection timeout for WebSocket.
Link copied to clipboard
public void setWebSocketServerIp(String webSocketServerIp)
Sets IP information used in web socket connection creation.
Link copied to clipboard
public void setWebSocketServerPort(int webSocketServerPort)
Sets port information used in web socket connection creation.
Link copied to clipboard
public void setWebSocketWithTokenAuthentication(boolean tokenAuthentication)
Sets webSocketAuthentication Mode If true, it uses token for webSocketConnection.
Link copied to clipboard
public void setxSessionId(String xSessionId)
Sets session id of user